package cn.kgc.changjian.service;

import cn.kgc.changjian.mapper.ClassesMapper;
import cn.kgc.changjian.pojo.Classes;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author shkstart
 * @create 2020-05-25 20:17
 */
@Service
public class ClassesServiceImpl implements  ClassesService{

    @Resource
    ClassesMapper classesMapper;
    @Override
    public List<Classes> selectAll() {
        List<Classes> classes = classesMapper.selectByExample(null);
        return classes;

    }
}
